package com.member.shop.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.member.common.annotation.Excel;
import com.member.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.Date;

/**
 * 商品评价对象 sys_biz_goods_evaluate
 *
 * @author wangxin
 * @date 2024-01-19
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_biz_goods_evaluate")
public class SysBizGoodsEvaluateOut extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 评价头像
     */
    @Excel(name = "头像")
    private String avatar;

    /**
     * 评价名称
     */
    @Excel(name = "评价用户")
    private String nickName;

    /**
     * 评价手机号
     */
    @Excel(name = "手机号")
    private String phone;

    /**
     * 评价来源 0用户 1后台
     */
    @Excel(name = "评价来源")
    private String source;


    /**
     * 评价时间
     */
    @Excel(name = "评价时间")
    private String evaluationTime;


    /**
     * 商品编号
     */
    @Excel(name = "商品编号")
    @TableField(exist = false)
    private String goodsCode;


    /**
     * 订单编号
     */
    @Excel(name = "订单编号")
    @TableField(exist = false)
    private String orderCode;

    /**
     * 星数
     */
    @Excel(name = "星数")
    private Integer score;

    /**
     * 评价图片
     */
    @Excel(name = "评价图片")
    private String contentImage;

    /**
     * 评价内容
     */
    @Excel(name = "评价内容")
    private String contentText;

    /**
     * 是否显示(0:显示，1:隐藏)
     */
    @Excel(name = "是否显示")
    private String displayed;

}
